package com.ruoyi.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 【请填写功能名称】对象 gps
 *
 * @author Tellsea
 * @date 2023-01-11
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Gps extends BaseEntity {

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private Integer lat;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private Integer lon;

    /**
     * 高度米
     */
    @Excel(name = "高度米")
    private Integer alt;

    /**
     * GPS地面速度
     */
    @Excel(name = "GPS地面速度")
    private Integer vel;

    /**
     * 卫星数量
     */
    @Excel(name = "卫星数量")
    private short satellitesVisible;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date date;


    public Gps(Integer lat, Integer lon, Integer alt, Integer vel, short satellitesVisible, Date date) {
        this.lat = lat;
        this.lon = lon;
        this.alt = alt;
        this.vel = vel;
        this.satellitesVisible = satellitesVisible;
        this.date = date;
    }

    public Gps() {
    }
}
